package org.zls.client;

import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.ui.Label;

public class BennyTab extends Tab {

	public static TabInfo init() {
		return new TabInfo("Benny", "<h2> Benny! </h2>") {

			public Tab createInstance() {
				return new BennyTab();
			}
			
			public String getColor() {
				return "#FFFF00";
			}

			public void setTitle() {
				Window.setTitle("HSpot - Benny!");
			}
		};
	}
	
	public BennyTab() {
		initWidget(new Label());
	}
}
